package CollegeInformation;

//统计函数返回七个统计值
 public class statisticResult{
    public statisticResult() {
        super();
        sum=Tnum=Lnum=Onum=TOnum=malesum=femalesum;
    }


    int sum;
    int Tnum;
    int Lnum;
    int Onum;
    int TOnum;
    int malesum;
    int femalesum;

    @Override
    public String toString() {
        return
                "员工总数为：" + sum +
                "\n 教师总数为：" + Tnum +
                "\n 实验员总数为：" + Lnum +
                "\n 行政人员总数为：" + Onum +
                "\n 兼职人员总数为：" + TOnum +
                "\n 男员工数量为：" + malesum +
                "\n 女员工数量为：" + femalesum
                ;
    }
}
